package com.yjps.system.model;

import com.yjps.common.model.BaseModel;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by 麒全 on 2015/8/18.
 */
@Entity
@Table(name = "t_recruit")
public class Recruitment extends BaseModel {
    /**
     * 职位
     */
    @Column(name = "position",nullable = false)
    private String position;
    @Column(name = "request",nullable = false)
    private String request;
    /**
     * 待遇
     */
    @Column(name = "treatment",nullable = false)
    private String treatment;
    @Column(name = "recruit_state",columnDefinition="INT default 1")
    private boolean state;
    /**
     * 职责
     * */
    @Column(name = "responsibility")
    private String responsibility;

    /**
     * 职位类型
     */
    @Column(name = "position_type")
    private String positionType;
    /**
     * 职位所需人数
     */
    @Column(name = "num")
    private String num;
    /**
     * 工作地点
     */
    @Column(name = "work_position")
    private String workPosition;
    /**
     * 发布时间
     */
    @Column(name = "announce_time")
    private String announceTime;
    /**
     * 最后期限
     */
    @Column(name = "deadline")
    private String deadline;
    /**
     * 工作属性
     */
    @Column(name = "job_attribute")
    private String jobAttribute;
    /**
     * 所属部门
     */
    @Column(name = "department")
    private String department;
    @Column(name = "phone")
    private String phone;

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public String getRequest() {
        return request;
    }

    public void setRequest(String request) {
        this.request = request;
    }

    public String getTreatment() {
        return treatment;
    }

    public void setTreatment(String treatment) {
        this.treatment = treatment;
    }

    public boolean getState() {
        return state;
    }

    public void setState(boolean state) {
        this.state = state;
    }

    public String getPositionType() {
        return positionType;
    }

    public void setPositionType(String positionType) {
        this.positionType = positionType;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getWorkPosition() {
        return workPosition;
    }

    public void setWorkPosition(String workPosition) {
        this.workPosition = workPosition;
    }

    public String getAnnounceTime() {
        return announceTime;
    }

    public void setAnnounceTime(String announceTime) {
        this.announceTime = announceTime;
    }

    public String getDeadline() {
        return deadline;
    }

    public void setDeadline(String deadline) {
        this.deadline = deadline;
    }

    public String getJobAttribute() {
        return jobAttribute;
    }

    public void setJobAttribute(String jobAttribute) {
        this.jobAttribute = jobAttribute;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getResponsibility() {
        return responsibility;
    }

    public void setResponsibility(String responsibility) {
        this.responsibility = responsibility;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
